package com.mooneros.study.designpattern.chain;


/**
 * @author mac
 */
public class TestChainPattern {

    public static void main(String[] args) {
        Process_1 process1 = new Process_1();
        process1.execute();
        process1
                .executeNextProcess(new Process_2())
                .executeNextProcess(new Process_3());
    }

}
